home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2001 October / macformat-108.iso / Shareware / Math scientific / PsyScript / libraries / screen.lib / screen.lib.rsrc / TEXT_1128.txt < prev    next >
Encoding:
Text File  |  2001-08-05  |  912 b   |  23 lines

  1.  
  2. 16/May/01
  3. added
  4. on makeRect(side) --makes a rect this on a side
  5. on scaleRect(theRect, scaleFactor) --makes a rect this on a side
  6. to centreRectOnPoint(theRect, thePoint) --currently inefficient two-pass version
  7. on getCentroid(theRect)
  8.  
  9.  
  10.  
  11. <!--29/4/01 tim bates-->
  12. started adding handlers to help dealing with rectangles
  13. on getCentroid(theRect) --takes a {l,t,r,b} or {{l,t},{r,b}}
  14.  
  15. <!--27/4/01 tim bates-->
  16.  
  17. created this new library to help with screen computations, in particular, working with eye tracking
  18. if you tell it the physical measurements of screen width and height, and distance to the screen, then the library computes a bunch of derivative stuff such as pixels per degree.
  19.  
  20. Also included is the beginning of handler fmaily for working with rectangles
  21.  
  22. Finally a handler is included (with associated properties) which calculates the parameters required for a smooth pursuit stimulus on a linear path.
  23.